package com.eco.fanliapp.common.constant;

import java.math.BigDecimal;

/**
 * @ProjectName: fanliapp
 * @Package: com.eco.fanliapp.common.constant
 * @ClassName: ApiEnum
 * @Author: xiaoxx
 * @Description: APPKEY配置 路由配置
 * @Date: 2019/11/28 14:12
 * @Version: 4.2.2
 */
public class ApiEnum {

    //淘宝API
    /**淘宝HTTPS请求地址*/
    public static final String TAO_URL = "https://eco.taobao.com/router/rest";
    /**淘宝应用APPKEY*/
    public static final String TAO_APPKEY = "27584113";
    /**淘宝应用SECRET*/
    public static final String TAO_SECRET = "b37cf7ec8b623f8699400864f2ce75c2";
    /**淘宝联盟应用对应的PID（最好是当前应用下的PID）最后一段*/
    public static final Long TAO_ADZONEID = 108944700127L;
    /**游客模式佣金比例*/
    public static final Integer YOUKEMODE = 40;
    /**高佣session（在前端配置）和渠道授权应用ID（在后台配置）*/
    public static final String TAO_CLIENT_ID = "27584113";
    /**手淘渠道授权回调地址-生产*/
    public static final String TAO_REDIRECT_URI = "http://console.shengyaapp.com/callback/taobaomobile";
//    /**手淘渠道授权回调地址-测试*/
//    public static final String TAO_REDIRECT_URI = "http://console.shengyaapp.com/callback/taobaomobile";

    /** 联盟授权回调地址-生产 */
    public static final String TAO_LM_REDIRECT_URI = "http://console.shengyaapp.com/callback/taobao";
//    /** 联盟授权回调地址-测试 */
//	public static final String TAO_LM_REDIRECT_URI = "http://consoledev.shengyaapp.com/callback/taobao";

    /**分享地址-生产*/
    public static final String APP_SHARE_URL = "http://api.mtbeijiang.com";
    /** 分享地址-测试*/
//	public static final String APP_SHARE_URL = "http://apidev.shengyaapp.com";

    //极光推送
    /**极光推送MASTERSECRET*/
    public static final String JG_MASTER_SECRET = "c2c6c095eacb4c5661c05915";
    /**极光推送APPKEY*/
    public static final String JG_APP_KEY = "0d488107f1cf13ec524f1b1d";
    /**极光推送环境设置 测试为false 正式为true*/
    public static final Boolean JG_APNS_PRODUCT = true;
//    /**极光推送环境设置 测试为false 正式为true*/
//    	public static final Boolean JG_APNS_PRODUCT = false;

    //好单库API
    /**好单库API接口网址*/
    public static final String URL = "http://v2.api.haodanku.com/";
    /**好单库KEY*/
    public static final String HDK_APIKEY = "shengyaapp";
    /**关键词商品页API */
    public static final String GET_KEYWORD_ITEMS = "get_keyword_items";
    /**单品详情API 目前仅支持好单库站内商品获取详情 */
    public static final String ITEM_DETAIL = "item_detail";
    /**高佣API */
    public static final String RATESURL = "ratesurl";
    /**超级分类API */
    public static final String SUPER_CLASSIFY = "super_classify";
    /**超级搜索API */
    public static final String SUPERSEARCH = "supersearch";
    /**热搜关键词记录API */
    public static final String HOT_KEY = "hot_key";
    /**猜你喜欢API */
    public static final String GET_SIMILAR_INFO = "get_similar_info";
    /**商品筛选API */
    public static final String COLUMN = "column";

    //好单库商品入库API
    /**商品列表页API */
    public static final String ITEMLIST = "itemlist";
    /**定时拉取API */
    public static final String TIMING_ITEMS = "timing_items";
    /**商品更新API */
    public static final String UPDATE_ITEM = "update_item";
    /**失效商品列表API*/
    public static final String GET_DOWN_ITEMS = "get_down_items";
    /**各大榜单API*/
    public static final String SALES_LIST = "sales_list";

    //阿里云短信配置(20200311之前)
//    /**阿里云accessKeyId*/
//    public static final String ACCESSKEYID = "LTAI4FvgvJ5dWSokciRBs623";
//    /**阿里云accessKeySecret*/
//    public static final String ACCESSKEYSECRET = "T79FEpAkZeMNUt7hsmvt4EL4KCdep9";
//    /** 获取验证码模板（新1） */
//    public static final String TEMPLATECODE = "SMS_166865734";
//    /**阿里云短信签名*/
//    public static final String SIGNNAME = "省鸭";

	//《阿里云短信配置》
	/**阿里云accessKeyId*/
	public static final String ACCESSKEYID = "LTAI4Fggg71m9wvDhN3AiinZ";
	/**阿里云accessKeySecret*/
	public static final String ACCESSKEYSECRET = "5qXJd58cW96NwebiXxfEZmSsDwu4kx";
	/** 模板1：身份验证通知 */
	public static final String SMS_TEMPLATE1 = "SMS_186005103";
	/** 模板2：服务异常通知 */
	public static final String SMS_TEMPLATE2 = "SMS_185855007";
	/** 模板3：企业公众号付款帐号余额不足通知 */
	public static final String SMS_TEMPLATE3 = "SMS_185645049";
	/** 模板4：联盟到期通知 */
	public static final String SMS_TEMPLATE4 = "SMS_185580073";
	/** 模板5：红包领取通知 */
	public static final String SMS_TEMPLATE5 = "SMS_185745001";
	/**阿里云短信签名*/
	public static final String SIGNNAME = "省鸭";


	//多客云通信
//	/** UTF8接口地址 */
//	public static String HTTPURL = "http://39.96.93.222:8080/eums/sms/utf8/send.do?";
//	/** 账户名 */
//	public static String USERNAME = "tckkyzm";
//	/** 密码 */
//	public static String DUOKE_PWD = "4t7fgf00";
//	/** 短信签名 */
//	public static String MESHEAD = "【省鸭】";

    //支付宝配置
	/**APPID*/
	public static String APP_ID = "2018052860271129";
	/**私钥*/
	public static String MERCHANT_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCFzHzsTZjnk77R" +
			"AGxvEmtGfPTTZvxBnOP1ZeQoJ/5Oqh7JcCuveWyVdUJgPX6cTm+J+sw21FB+zNjw" +
			"n61kw2vex51Ny3+RSDzjZnZD0xTEn1ed0/pkUbbVH4Ay5WiBkGQZkykhI+clM4Qh" +
			"0GZ2dTA/Gi5rNBUDPJGirzqm5qpNPIt+8cnME/nlRJ+W6ADx10Bgetpg2NHQNH2q" +
			"Wd7nvfRMF/uqERSwbUtrkwFdEY29baKod5nAa1LbDgGbGAsUqkYYjvAh21/rg01O" +
			"QHjL8W3ziA0caSV5td1cNTK2mKNNyvPg0GY2Xn2uL7cLv5p0L3zGeohdYnGaHsRQ" +
			"7gjHLI+rAgMBAAECggEAfeds7lgeuFvZRYbmgqaMd+oB4CSa34spH7Tfu8HWlmOT" +
			"UO7SzO6v9PxAl5uGVsOgRfDQ1g94J7nPsq4vVhBmo16ncZs60ZVuZnX2d+BbPKLM" +
			"qeHdTyVtrKNV2Y7yhmk/KKnIHD1StzkA72jR4kpoOhkC8TIzS7ZlPPczc/a+7qnb" +
			"7nTQf/7m880ZAL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sHxM" +
			"55eZTTtVLmONLqyagA3BNEdB";
	/**公钥*/
	public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WcpunaFZfG/8GfxDk9M" +
			"EMQpWXukUpOBcAz5jpCDSEHqyacmwHfgbYwJfxOmX1QIYQVT8lgIqGlBWzmmXcIG" +
			"T6fJ5Qb9jXDOlXivIb+ZvKN86OH42t9KInlOFpJIyYb9hgKUv9Jae9RWhspDk9Rw" +
			"r76paKVVo5f3FQ1uP1onYUfeHnSgB/lXsABWmcfkzrbZEFT8wgJHoipEq0JM3WSE" +
			"ekhsC8vLVAazbPn6MqJgn/lr4hwCHsK5i3IrmDPuktrmoMzYZ612ph25kAmMYTFr" +
			"HtxYnsk4yBIj5GIK8P9OeNXa0irOXxvUBX0WGzSn5lMuNOJ8tdK84jSM6MdOwUTG" +
			"HwIDAQAB";
	/**网关*/
    public static String GATEWAYURL = "https://openapi.alipay.com/gateway.do";
    /**签名方式*/
    public static String SIGN_TYPE = "RSA2";
    /**编码格式*/
    public static String CHARSET = "utf-8";

    //其他配置
    /**消息列表头像*/
    public static String MSG_ICON = "http://qiniuimage.shengyaapp.com/shengyaportrait.png";
    /**收入消息头像*/
    public static String MSG_INCOME_ICON = "http://qiniuimage.shengyaapp.com/incomemsg.png";
    /**活动消息头像*/
    public static String MSG_ACTION_ICON = "http://qiniuimage.shengyaapp.com/actionmsg.png";

    //安全Token
    /**JWT签名前缀key(空格要保留)*/
    public static String JWT_KEY = "shengya ";

    /** 弹窗显示时间毫秒 */
    public static final Long DIS_TIME = 2000L;

    /** 索引所在服务名 */
    public static final String EUREKA_URL = "http://service-provider";



    //维意API
    /**维意的APIURL*/
    public static final String WEIYI_URL = "http://apipro.vephp.com/";
    /**维意的APIKEY*/
    public static final String WEIYI_APIKEY = "V00001043Y60238823";
    /**淘宝天猫商品详情介绍API*/
    public static final String WEIYI_ITEMDETAIL = "itemdetail";

    /**Eco的URL*/
    /*public static final String ECO_URL = "http://taobaoapi.ecostudio.cn/";*/
    /**Eco的URL*/
    public static final String ECO_URL = "http://localhost:8158/";
    /**根据商品ID获取商品详情GET */
    public static final String TAOBAO_ITEMID_ITEMDETAIL = "taobao/itemId/itemdetail";
    /**根据标题查询详情POST*/
    public static final String TAOBAO_TITLE_ITEMDETAIL = "taobao/title/itemdetail";
    /**拉取订单POST*/
    public static final String TAOBAO_ORDER_ORDERDETAILS = "taobao/order/orderdetails";
    /**根据商品ID进行高佣转链GET privilege/{itemId}/{siteld}/{adzoneid}/{session} */
    public static final String PRIVILEGE_ITEMID_SITELD_ADZONEID_SESSION = "privilege";
    /**解析淘口令GET */
    public static final String TAOBAO_ANALYZETKL = "taobao/analyzeTkl";
    /**生成淘口令POST */
    public static final String TAOBAO_CREATETKL = "taobao/createTkl";
    /**超级搜索 */
    public static final String TAOBAO_ITEM_OPTIONAL = "taobao/item/optional";
    /**渠道备案*/
    public static final String TAOBAO_TBK_SCPUBLISHERINFO = "taobao/tbk/scPublisherInfo";
    /**渠道邀请码获取 */
    public static final String TAOBAO_TBK_CINVITECODE = "/taobao/tbk/cInvitecode";
    /**会员邀请码获取 */
    public static final String TAOBAO_TBK_MINVITECODE = "/taobao/tbk/mInvitecode";

    //助力红包
    /**助力红包金额*/
    public static BigDecimal FENS_MONEY = BigDecimal.valueOf(5);
    /**助力红包次数*/
    public static Integer FENS_COUNT = 3;
    /**助力红包失效时间（用户注册时间多少天）天数*/
    public static Integer FENS_EXPIRE_TIME = 30;

    //朋友圈
    /**朋友圈左上角名称*/
    public static String PYQ_NAME = "省鸭";
    /**朋友圈左上角头像*/
    public static String PYQ_ICON = "http://qiniuimage.shengyaapp.com/shengyaportrait.png";
    /**朋友圈图片跳转链接*/
    public static String PYQ_URL = "http://www.baidu.com";
    /**淘口令前缀*///€ ￥ ()
    public static final String[] O_TKL_O = {"€","€"};
}